package com.pipe.oss;

import com.pipe.service.OssService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @ClassName Demo
 * @Author HETAO
 * @Date 2020/7/10 10:46
 */
@SpringBootTest
public class Demo {

    @Autowired
    private OssService ossService;

    @Test
    public void upload() {
        // String path = "C:\\Users\\Administrator\\Pictures\\1.jpg";
        // ossService.uploadByOss(path,"1.jpg");
    }


}
